package com.example.demo.mapstruct;

import com.example.demo.pojo.AlphaPO;
import com.example.demo.pojo.AlphaVO;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Shanks
 * @date 2020-10-30
 */
@Component
@Mapper(componentModel = "spring")
public interface AlphaConverter {

    AlphaPO convert(AlphaVO vo);

    List<AlphaPO> convert(List<AlphaVO> vos);
}